package com.alipay.sofa.award.biz.service.facade;

import com.alipay.sofa.award.common.dal.dataobject.UserInfo;

/**
 * UserInfoFacade
 *
 * @author yangguanchao
 * @since 2018/09/05
 */
public interface UserInfoFacade {

    int deleteByPrimaryKey(Integer id);

    int deleteByUserId(String userId);

    int insertOrUpdateByUserId(UserInfo userInfo);

    UserInfo selectByPrimaryKey(Integer id);

    UserInfo selectByUserId(String userId);

    int updateByPrimaryKey(UserInfo userInfo);

    int updateByUserId(UserInfo userInfo);
}
